Skip to content

Conversation

@joaquim-verges
Copy link
Member

@joaquim-verges joaquim-verges commented Oct 3, 2024

Problem solved

Short description of the bug fixed or feature added


PR-Codex overview

This PR focuses on enhancing the handling of the zksolc compiler metadata and adding a check for ZkSync chains in the deployment and transaction processes.

Detailed summary

  • In deploy-metadata.ts, the access to bytecodeUri for zksolc has been modified to safely handle potential undefined values.
  • In get-required-transactions.ts, a check for ZkSync chains is added, returning an empty object if the chain is ZkSync, indicating that no implementation constructor parameters are needed.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@changeset-bot
Copy link

changeset-bot bot commented Oct 3, 2024

⚠️ No Changeset found

Latest commit: 119ebf1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Oct 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 3, 2024 1:12am
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 3, 2024 1:12am
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 3, 2024 1:12am
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 3, 2024 1:12am

@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 3, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @joaquim-verges and the rest of your teammates on Graphite Graphite

@joaquim-verges joaquim-verges marked this pull request as ready for review October 3, 2024 00:50
@github-actions
Copy link
Contributor

github-actions bot commented Oct 3, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 41.95 KB (0%) 840 ms (0%) 291 ms (-17.38% 🔽) 1.2 s
thirdweb (cjs) 101.63 KB (0%) 2.1 s (0%) 643 ms (-6.75% 🔽) 2.7 s
thirdweb (minimal + tree-shaking) 4.82 KB (0%) 97 ms (0%) 29 ms (-31.47% 🔽) 126 ms
thirdweb/chains (tree-shaking) 498 B (0%) 10 ms (0%) 57 ms (+548.97% 🔺) 67 ms
thirdweb/react (minimal + tree-shaking) 17.23 KB (0%) 345 ms (0%) 167 ms (+114.58% 🔺) 512 ms

@codecov
Copy link

codecov bot commented Oct 3, 2024

Codecov Report

Attention: Patch coverage is 20.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 47.57%. Comparing base (e91581a) to head (119ebf1).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
.../extensions/prebuilts/get-required-transactions.ts 25.00% 3 Missing ⚠️
...ages/thirdweb/src/utils/any-evm/deploy-metadata.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4902      +/-   ##
==========================================
- Coverage   47.57%   47.57%   -0.01%     
==========================================
  Files        1054     1054              
  Lines       57142    57146       +4     
  Branches     3918     3921       +3     
==========================================
+ Hits        27185    27186       +1     
- Misses      29268    29271       +3     
  Partials      689      689              
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from e91581a
packages 43.31% <20.00%> (-0.01%) ⬇️

*This pull request uses carry forward flags. Click here to find out more.

Files with missing lines Coverage Δ
...ages/thirdweb/src/utils/any-evm/deploy-metadata.ts 80.82% <0.00%> (ø)
.../extensions/prebuilts/get-required-transactions.ts 62.84% <25.00%> (-0.85%) ⬇️

@joaquim-verges joaquim-verges merged commit eeb993d into main Oct 3, 2024
27 of 28 checks passed
@joaquim-verges joaquim-verges deleted the feat_optimize_zksync_contract_deployment_and_bytecode_handling branch October 3, 2024 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants